package com.turing.data.response;

import com.turing.common.response.ResultCode;
import lombok.Getter;
import lombok.ToString;

/**
 * @Description template返回对象
 * @Author lcy
 * @Date 2021/6/7 09:58
 */
@ToString
public enum DrawResultCode implements ResultCode {
    /**
     * 模版名称不能重复
     */
    TEMPLATE_DUPLICATED(false,"700","场景名称不能重复",0);

    /**
     * 操作是否成功
     */
    @Getter
    private final boolean success;

    /**
     * 操作代码
     */
    @Getter
    private final String code;

    /**
     * 提示信息
     */
    @Getter
    private final String message;

    /**
     * 状态
     */
    @Getter
    private final Integer status;

    DrawResultCode(boolean success, String code, String message, Integer status){
        this.success = success;
        this.code = code;
        this.message = message;
        this.status = status;
    }

}
